package cn.wolfcode.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    /** */
    private Long id;

    /** */
    private String username;

    /** */
    private String name;

    /** */
    private String password;

    private String repassword;

    /** */
    private String email;

    /** */
    private Integer age;

    /** */
    private boolean admin;    // 改为boolean

    /** */
    private Department dept;  // 使用 Department


}